package com.supcalls.thread;

public class LambdaThreadExample {
    public static void main(String[] args) {
        Thread thread = new Thread(() -> {
            System.out.println(Thread.currentThread().getName() + " is running.");
        });
        thread.start(); // 启动线程
    }
}

